{
  lib,
  buildDunePackage,
  dune_3,
  dune-private-libs,
}:

buildDunePackage {
  pname = "dune-site";
  inherit (dune_3) src version;

  duneVersion = "3";

  dontAddPrefix = true;

  propagatedBuildInputs = [ dune-private-libs ];

  preBuild = ''
    rm -r vendor/csexp
  '';

  meta = with lib; {
    description = "Library for embedding location information inside executable and libraries";
    inherit (dune_3.meta) homepage;
    maintainers = [ ];
    license = licenses.mit;
  };
}
